﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SQLite;

namespace Cookbook.Models
{
  [Table("Recipes")]
  public class Recipe
  {
    [PrimaryKey]
    public int Id { get; set; }

    [MaxLength(100)]
    public string Title { get; set; }

    [MaxLength(255)]
    public string ImagePath { get; set; }

    public int Rating { get; set; }

    public DateTime LastChange { get; set; }
  }
}
